<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?>

<div id="center-wrap" class="ui-corner-tl ui-corner-tr">
<form action="<?php echo site_url('user/submit_login');?>" name="user_login" id="user_login" method="post" enctype="multipart/form-data" >
	<h1 class="bold capitalize">User login</h1>
	
	<div class="clrboth"></div>
	
	<div class="row">
		<div class="column grid_9">
			<div class="column grid_2">
				Email address:
			</div>
			<div class="column grid_4">
				<input type="text" maxlength="100" name="email" id="email" value="" class="inputText" />
			</div>
			<div class="column grid_3 hidden" id="email_error">
				<span class="red">Email and password typed in do not match. This account might not be activated.</span>
			</div>
			
			<div class="clrboth"></div>
			
			<div class="column grid_2">
				SBX password:
			</div>
			<div class="column grid_4">
				<input type="password" maxlength="30" name="password" id="password" value="" class="inputText" />
			</div>
			<div class="clrboth"></div>
			
			<div class="column grid_2">
				&nbsp;
				<div id="afterSubmit"></div>
			</div>
			<div class="column grid_2" style="margin-top:10px;">
				<input type="submit" id="login_acc" name="login_acc" value="Login" class="ui-corner-all button-yellow" />
				&nbsp;&nbsp;
				<?php echo loader_image(" class='hidden' id='loader' ");?>
			</div>
			
			<div class="clrboth"></div>
			<div class="column grid_2">
				<a href="<?php echo site_url('user/forgot_password');?>" id="forgot-passwd">Forgot password?</a>
			</div>
			
		</div>
		<div class="clrboth"></div>
	</div>
	
</form>	
</div>
<div class="clrboth"></div>
